package dancetwotiktokmodelmysql

import (
	"gorm.io/gorm"
	"time"
)

// DanceActivitiesFragmentExchangeNum 碎片兑换数量
type DanceActivitiesFragmentExchangeNum struct {
	Id           int64          `gorm:"primaryKey;autoIncrement;comment:id" json:"id"`
	ActivitiesId int64          `json:"activitiesId" gorm:"column:activities_id;type:bigint;default:0;not null;comment:活动id"`
	ExchangeNum  int64          `json:"exchangeNum" gorm:"column:exchange_num;type:bigint;default:0;not null;comment:兑换数量"` //兑换数量
	CreatedId    int64          `json:"created_id" gorm:"column:created_id;type:bigint;default:0;not null;comment:创建人id"`    // 创建人id
	CreatedAt    time.Time      `json:"created_at" gorm:"column:created_at;type:datetime"`
	UpdatedAt    time.Time      `json:"updated_at" gorm:"column:updated_at;type:datetime"`
	DeletedAt    gorm.DeletedAt `gorm:"index;type:datetime" json:"-"`
}
